package routers

import (
	"beeNewProject2/controllers"
	beego "github.com/beego/beego/v2/server/web"
)

func init() {

	// 自定义路由
	//获取用户信息
	//get
	beego.Router("/getUserInfo", &controllers.CustomController{}, "GET:GetUserInfo")
	//post
	beego.Router("/registerInfo", &controllers.CustomController{}, "POST:RegisterInfo")
}
